package boot.spring.设计模式.原型;

import com.sun.org.apache.regexp.internal.RE;

public class WorkResume {

    public static void main(String[] args) throws Exception {

        Resume a = new Resume("张三");
        a.setPersonInfo("男", "29");
        a.setWorkExperience("1998-2000", "XXX公司");

        System.out.println("a:  "+a);

        Resume b = (Resume)a.clone();
        b.setWorkExperience("2001-2006", "YYYYYYY公司");
        System.out.println("b:  "+b);


    }
}
